import 'package:oramemo/generated/json/base/json_field.dart';
import 'package:oramemo/generated/json/system_language_entity.g.dart';
import 'dart:convert';
export 'package:oramemo/generated/json/system_language_entity.g.dart';

@JsonSerializable()
class SystemLanguageEntity {
	String? msg;
	int? code;
	List<SystemLanguageData>? data;

	SystemLanguageEntity();

	factory SystemLanguageEntity.fromJson(Map<String, dynamic> json) => $SystemLanguageEntityFromJson(json);

	Map<String, dynamic> toJson() => $SystemLanguageEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class SystemLanguageData {
	String? createBy;
	String? createTime;
	String? remark;
	SystemLanguageDataParams? params;
	int? dictCode;
	int? dictSort;
	String? dictLabel;
	String? dictValue;
	String? dictType;
	String? cssClass;
	String? listClass;
	String? isDefault;
	String? status;
	@JSONField(name: 'default')
	bool? defaultValue;

	SystemLanguageData();

	factory SystemLanguageData.fromJson(Map<String, dynamic> json) => $SystemLanguageDataFromJson(json);

	Map<String, dynamic> toJson() => $SystemLanguageDataToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class SystemLanguageDataParams {


	SystemLanguageDataParams();

	factory SystemLanguageDataParams.fromJson(Map<String, dynamic> json) => $SystemLanguageDataParamsFromJson(json);

	Map<String, dynamic> toJson() => $SystemLanguageDataParamsToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}